using System;

using Microsoft.Cci;

namespace Tyng.Rules
{
    public static class CciUtilities
    {
        public static TypeNodeList GetTypeNodeList(Type[] types)
		{
			TypeNodeList nodes = new TypeNodeList(types.Length);

			for(int i = 0; i < types.Length; i++)
				nodes.Add(TypeNode.GetTypeNode(types[i]));

			return nodes;
		}
    }
}
